/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.model;

import com.exception.DataException;
import com.javabeans.Carrera;
import java.util.List;

/**
 * @author Administrador
 */
public interface CarreraManager {
    public int getIdCarrera() throws DataException;
    public void saveCarrera(Carrera c) throws DataException;
    public Carrera getCarrera(int idCarrera) throws DataException;
    public Carrera getCarreraBasic(int idCarrera) throws DataException;
    public List<Carrera> getCarrerasAll() throws DataException;
    public List<Carrera> getCarrerasAllByFacul(int idFacultad) throws DataException;
    public List<Carrera> getCarrerasInactivos() throws DataException;
    public void updateCarrera(Carrera c) throws DataException;
    public void deleteCarrera(int idCarrera) throws DataException;
    public boolean isUseCarreraForDelete(int idCarrera) throws DataException;
    public void darBaja(int idCarrera) throws DataException;
    public void darAlta(int idCarrera) throws DataException;
    public List<Carrera> getCarrerasPorEst(int codigoSis) throws DataException;
    public List<Carrera> getCarrerasPorEstBasic(int codigoSis) throws DataException;
}
